using System;
using AvaloniaApplication1.Models;
using AvaloniaApplication1.ViewModels;
using Microsoft.Extensions.DependencyInjection;

namespace AvaloniaApplication1.Factory;

public class DialogTestViewModelFactory(IServiceProvider serviceProvider)
    : ViewModelFactoryBase<DeviceCardModel, DialogTestViewModel>(serviceProvider)
{
    public override DialogTestViewModel Create(DeviceCardModel model)
    {

        return new DialogTestViewModel(model);
    }
}